package com.yonyougov.cruxtestcase.testcase.organization.agency.myMultversion;

import java.util.Date;

public abstract class Organization extends BaseEntity {

    private String description;


    private Date startDate;


    private Date endDate;


    private Boolean draft;


    private String code; // 用于显示、打印、要素树的编码显示，对应6.x的 chr_code


    private String name; // 用于显示、打印、要素树的名称显示，对应6.x的 chr_name

    private Boolean enabled; // 是否启用

    private Integer levelNum;


    private String innerCode;


    private Boolean leafNode;


    private Boolean expandable;


    private String address;


    private String manager;


    private String contacts;


    private String districtNumber;


    private String telephone;


    private String extensionNumber;


    private Region region;


    private Long createOrgId;

    private Organization parent;


    private Organization orgParent;


    private String year;


    private String postalCode;

    private String type;

    public String getType() {
        return this.getClass().getSimpleName();
    }
}
